<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group hide">
        <label class="control-label col-xs-12 col-sm-2">{:__('Presentation_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-presentation_id" data-rule="required" data-source="presentation/index" class="form-control selectpage form-control" name="row[presentation_id]" type="text" value="{$row.presentation_id}">
        </div>
    </div>
    <script id="tpl-my" type="text/html">
        <dd class="form-inline">
                <span class="btn btn-sm btn-danger btn-remove"><i class="fa fa-times"></i></span>
                <input type="text" name="<%=name%>[<%=index%>][key]"
                       class="form-control"
                       value="<%=row.key%>" size="10" />
                <textarea name="<%=name%>[<%=index%>][value]"
                          rows="10"
                          style="width: 80%"
                          class="form-control"><%=row.value%></textarea>
        </dd>

    </script>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('医学评价')}:</label>
        <div class="col-xs-12 col-sm-8">
                    <div class="row">
                        <div class="col-sm-12 col-xs-12">
                            <dl class="fieldlist"
                                data-template="tpl-my"
                                data-name="row[contentcomment]">
                                <dd><a href="javascript:;"
                                       class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 添加</a></dd>
                                <textarea name="row[contentcomment]" class="form-control hide"
                                          cols="30" disabled rows="5">{$row.contentcomment}</textarea>
                            </dl>
                        </div>
                    </div>

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('相关性')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="row">
                <div class="col-sm-12 col-xs-12">
                    <dl class="fieldlist"
                        data-template="tpl-my"
                        data-name="row[contentrelation]">
                        <dd><a href="javascript:;"
                               class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> 添加</a></dd>
                        <textarea name="row[contentrelation]"
                                  class="form-control hide"
                                  disabled cols="30" rows="5">{$row.contentrelation}</textarea>
                    </dl>
                </div>
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isknow')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-isknow" class="form-control selectpicker" name="row[isknow]">
                {foreach name="isknowList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.isknow"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Active')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-active" class="form-control selectpicker" name="row[active]">
                {foreach name="activeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.active"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
